package com.woniu.airent.mapper;

import com.woniu.airent.entity.Report;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReportMapper {
    int deleteByPrimaryKey(Integer reportId);

    Report selectByPrimaryKey(Integer reportId);

    List<Report> selectAll();

    int updateByPrimaryKey(Report record);

    Integer insert(@Param("userName") String userName, @Param("houseNumber") String houseNumber, @Param("reportContent") String reportContent);
}
